package com.juc.forkJoinPool.forkJoinPool2;

import java.util.concurrent.ForkJoinPool;

public class Run {
    // public void execute(Runnable task)
	public static void main(String[] args) throws InterruptedException {
		ForkJoinPool pool = new ForkJoinPool();
		pool.execute(new Runnable() {
			@Override
			public void run() {
			     System.out.println("ThreadName  " + Thread.currentThread().getName());
			}
		});
		Thread.sleep(5000);
	}
}
